const MyPromise = require('./code4.js');

let promise = new MyPromise(function (resolve, reject) {
  setTimeout(function () {
    // resolve('success')
  }, 10)
})
promise.then(()=>{
  console.log('hello')
}).then(()=>{
  console.log('lagou')
}).then(()=>{
  console.log('I ❤️ U')
})
